#!/usr/bin/env python

import os
import sys

from ConfigParser import ConfigParser
from _meta import Meta

class Config(ConfigParser):
    '''Config class

    @author Julot <andy.julot@gmail.com>
    @since Sunday, January 15, 2012. 04:48 PM'''

    def __init__(self, *args, **kwargs):
        ConfigParser.__init__(self, *args, **kwargs)
        s = '%s.conf' % Meta().name.lower()
        path = os.path.realpath(os.path.dirname(sys.argv[0]))
        self.read(os.path.join(path, s))
        